<script type="text/javascript" src="/template/default/js/utils.js"></script>
<script type="text/javascript" src="/res/js/jquery.cookie.js"></script>
<footer>
    <!--客服-->
    <!--<div class="widget_wrap">
        <ul class="tools_widget_wrap">
            <li id="tools_kfli" class="">
                <a href="http://p.qiao.baidu.com/cps/chat?siteId=11355789&userId=24697079" id="" class="tolls_widget_message"></a>
            </li>
            <li>
                <a href="javascript:;" id="tools_widget_goTop" class="tools_widget_goTop border"></a>
            </li>
        </ul>
    </div>-->
    <div style="height:50px; line-height:50px; clear:both;"></div>
    <div class="v_nav">
        <div class="vf_nav">
            <ul>
                <li> <a href="/wap.html">
                    <i class="vf_1"></i>
                    <span>首页</span></a>
                </li>
                <li><a href="/b/product/goodCategoryPlateform">
                    <i class="vf_3"></i>
                    <span>分类</span></a>
                </li>
                <li><a href="/b/discount/discountPlateform">
                    <i class="vf_4" style=" width:28px;"></i>
                    <span>特惠专区</span>
                    </a>
                </li>
                <li><a href="/b/customerCenter">
                    <i class="vf_5"></i>
                    <span>我的</span></a>
                </li>
            </ul>
        </div>
    </div>
</footer>
<script type="text/javascript">
    $(function () {
        var cartQuantity=$.cookie("cartQuantity");
        if(!cartQuantity){
            cartQuantity=0;
        }
        $("#ECS_CARTINFO").html(cartQuantity);

        //客服

        $(window).scroll(function () {
            var scrollTop = $(window).scrollTop();
            scrollTop > 50 ? $("#tools_widget_goTop").addClass("view-top") : $("#tools_widget_goTop").removeClass("view-top");
        });

        $('#tools_widget_goTop').click(function (e) {
            e.preventDefault();
            $('html,body').animate({ scrollTop:0});
        });
    })
</script>